/**
 * 说明：
 * 创建人：pluto
 * 创建时间：2018/8/3
 */
var ShaiDanCtrl = function ($scope, ShaiDanService) {
    $scope.result = {};
    $scope.param = {pageNum: 1, pageSize: 10};

    var _loadData = function (param) {
        ShaiDanService.list(param).then(function (res) {
            console.log(res);
            $scope.result = res;
        });

    };
    _loadData($scope.param);
    $scope.search=function () {
        $scope.param.pageNum = 1;
        _loadData($scope.param);
    }
};
angular.module('app.compeval.shaidan.controller',[])
    .controller("ShaiDanCtrl", ShaiDanCtrl);

